{include file="../../../application/admin/view/public/head" /}
<div class="page-container p10">
    <form class="layui-form layui-form-pane" method="post" action="">
        <input id="id" name="id" type="hidden" value="{$info.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">App名称：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.appname}" placeholder="请输入App中文名称" name="appname">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">版本名称：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.keyname}" placeholder="请输入版本名称（英文）" name="keyname">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">版本号：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$info.banbenhao}" placeholder="请输入版本号 00.00.00" name="banbenhao">
            </div>
            <div class="layui-form-mid layui-word-aux">版本号为空则app不显示，有值时会在app显示，需要配合苹果地址和安卓地址</div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">苹果地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.iosurl}" placeholder="请输入苹果下载链接" name="iosurl">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">Ipad地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$info.ipadurl}" placeholder="ipad下载链接，有值则显示" name="ipadurl">
            </div>
            <div class="layui-form-mid layui-word-aux">ipad地址为空则app不显示，有值时会在app显示ipad更新地址</div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">安卓地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.anzhuourl}" placeholder="请输入安卓下载链接" name="anzhuourl">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">appId：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.app_id}" placeholder="请输入appId" name="app_id">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">极光AppKey：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.jpush_app_key}" placeholder="请输入极光的appKey" name="jpush_app_key">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">极光Master Secret：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.jpush_master_secret}" placeholder="请输入极光的通讯密钥" name="jpush_master_secret">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">更新内容：</label>
            <div class="layui-input-block">
                <textarea id="vod_content" class="layui-textarea" name="neirong" type="text/plain" style="width:99%;height:80px">{$info.neirong}</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">详情内容：</label>
            <div class="layui-input-block">
                <textarea id="detailneirong" class="layui-textarea" name="detailneirong" type="text/plain" style="width:99%;height:80px">{$info.detailneirong}</textarea>
            </div>
            <div class="layui-form-mid layui-word-aux">当app详情弹层禁止用户观看时，详情内容会显示</div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">详情弹层开关：</label>
            <div class="layui-input-block">
                <input type="radio" name="is_detail_stop" {if condition="$info['is_detail_stop'] eq 0"}checked {/if} value="0" title="关闭">
                <input type="radio" name="is_detail_stop" {if condition="$info['is_detail_stop'] eq 1"}checked {/if} value="1" title="开启">
            </div>
            <div class="layui-form-mid layui-word-aux">（ios专用）观看视频多久后弹出版本更新的开关</div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">详情弹层时长：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" lay-verify="required" value="{$info.detail_stop_time}" placeholder="请输入详情弹层时长（秒）" name="detail_stop_time">
            </div>
            <div class="layui-form-mid layui-word-aux">（ios专用）观看视频多久后弹出版本更新，针对赛事设置，推荐已在历史记录处设置</div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">详情弹层内容：</label>
            <div class="layui-input-block">
                <textarea id="detail_stop_neirong" class="layui-textarea" name="detail_stop_neirong" type="text/plain" style="width:99%;height:80px">{$info.detail_stop_neirong}</textarea>
            </div>
            <div class="layui-form-mid layui-word-aux">（ios专用）观看视频多久后弹出版本更新内容</div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">跳转黑名单省市：</label>
            <div class="layui-input-block">
                <textarea  class="layui-textarea" name="heimingdan_jumpshengshi" type="text/plain" style="width:99%;height:80px">{$info.heimingdan_jumpshengshi}</textarea>
            </div>
            <div class="layui-form-mid layui-word-aux">请填写完整的例如黑龙江应该填写黑龙江省，以英文逗号间隔</div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">更新黑名单省市：</label>
            <div class="layui-input-block">
                <textarea  class="layui-textarea" name="heimingdanshengshi" type="text/plain" style="width:99%;height:80px">{$info.heimingdanshengshi}</textarea>
            </div>
            <div class="layui-form-mid layui-word-aux">请填写完整的例如黑龙江应该填写黑龙江省，以英文逗号间隔</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">黑名单苹果更新地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$info.heimingdaniosurl}" placeholder="请输入苹果下载链接" name="heimingdaniosurl">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">黑名单Ipad更新地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$info.heimingdanipadurl}" placeholder="ipad下载链接，有值则显示" name="heimingdanipadurl">
            </div>
            <div class="layui-form-mid layui-word-aux">黑名单省市开启更新后会替换到iPad地址</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">黑名单安卓更新地址：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" value="{$info.heimingdananzhuourl}" placeholder="请输入安卓下载链接" name="heimingdananzhuourl">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态：</label>
            <div class="layui-input-block">
                <input type="radio" name="status" {if condition="$info['status'] eq 2"}checked {/if} value="2" title="同归于尽">
                <input type="radio" name="status" {if condition="$info['status'] eq 1"}checked {/if} value="1" title="小窗">
                <input type="radio" name="status" {if condition="$info['status'] eq 0"}checked {/if} value="0" title="关闭" >
            </div>
            <div class="layui-form-mid layui-word-aux">入口页强制版本更新或推荐页版本更新开关</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">看广告得积分：</label>
            <div class="layui-input-block">
                <input type="radio" name="is_ad_to_points" {if condition="$info['is_ad_to_points'] eq 0"}checked {/if} value="0" title="关闭">
                <input type="radio" name="is_ad_to_points" {if condition="$info['is_ad_to_points'] eq 1"}checked {/if} value="1" title="开启">
            </div>
            <div class="layui-form-mid layui-word-aux">（ios专用）观看视频多久后弹出版本更新的开关</div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">广告积分：</label>
            <div class="layui-input-block">
                <input type="number" class="layui-input" value="{$info.ad_to_points}" placeholder="看一个广告得多少积分" name="ad_to_points">
                <div class="layui-form-mid layui-word-aux">看一个广告得多少积分</div>

            </div>

        </div>
        <div class="layui-form-item center">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="formSubmit" data-child="true">保 存</button>
                <button class="layui-btn layui-btn-warm" type="reset">还 原</button>
            </div>
        </div>
    </form>

</div>
{include file="../../../application/admin/view/public/foot" /}

<script type="text/javascript">
    layui.use(['form', 'layer'], function () {
        // 操作对象
        var form = layui.form
                , layer = layui.layer
                , $ = layui.jquery;


    });
</script>

</body>
</html>